<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <style>

        .p1{
            font-size: 18px;
            
        }
        .p2{
            /* 可设置多个值，逗号相隔 先解析第一种。。。 */
            font-family: 宋体;
        }

    </style>
</head>
<body>
    
<p class="p1">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dolores nostrum saepe magnam sequi provident, perspiciatis omnis libero ut nesciunt doloremque rem, animi, repellendus corrupti ad corporis necessitatibus nobis suscipit possimus.</p>

<p class="p2">Lorem ipsum, dolor sit amet consectetur adipisicing elit. Nobis magni at obcaecati necessitatibus tenetur earum dolor alias, possimus ipsam exercitationem impedit nemo eveniet voluptatibus sunt cupiditate? Nam modi officia facere!</p>

</body>
</html>